package com.mr.pay.domain;

import com.skysz.framework.domain.AbstractDomain;

/**
 * b-客户卡消费信息表
 * @author zhaow
 */
public class CustCardCost extends AbstractDomain {
	private static final long serialVersionUID = 4917502916482640348L;
	
	private Cust cust; //客户
	private String cardType; //卡类型
	private CustLine custCard; //客户卡
	private Double amount; //金额
	private Double frontBalance; //消费前金额
	private Double afterBalance; //消费后金额
	private Long count	 ; //次数	正数:; 负数:项目开卡.	
	private Long frontCount ; //消费前次数	
	private Long afterCount ; //消费后次数	
	
	private Long refId;//引用iD
	private String refType; //引用类型
	private Double typeAmount;//类型金额
	private Double freeAmount; //免费金额
	private Double arrearsAmount; //欠款金额
	private Double backAmont; //找零金额
	private Double cashAmount; //现金金额
	private Double bankAmount; //银行卡金额
	
	public CustCardCost(Long id){
		super(id) ;
	}
	
	public CustCardCost(){
	}
	
	public Cust getCust() {
		return cust;
	}
	public void setCust(Cust cust) {
		this.cust = cust;
	}
	public String getCardType() {
		return cardType;
	}
	public void setCardType(String cardType) {
		this.cardType = cardType;
	}
	public CustLine getCustCard() {
		return custCard;
	}
	public Long getCount() {
		return count;
	}
	public void setCount(Long count) {
		this.count = count;
	}
	public Long getFrontCount() {
		return frontCount;
	}
	public void setFrontCount(Long frontCount) {
		this.frontCount = frontCount;
	}
	public Long getAfterCount() {
		return afterCount;
	}
	public void setAfterCount(Long afterCount) {
		this.afterCount = afterCount;
	}
	public void setCustCard(CustLine custCard) {
		this.custCard = custCard;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	public Double getFrontBalance() {
		return frontBalance;
	}
	public void setFrontBalance(Double frontBalance) {
		this.frontBalance = frontBalance;
	}
	public Double getAfterBalance() {
		return afterBalance;
	}
	public void setAfterBalance(Double afterBalance) {
		this.afterBalance = afterBalance;
	}
	public Long getRefId() {
		return refId;
	}
	public void setRefId(Long refId) {
		this.refId = refId;
	}
	public String getRefType() {
		return refType;
	}
	public void setRefType(String refType) {
		this.refType = refType;
	}
	public Double getTypeAmount() {
		return typeAmount;
	}
	public void setTypeAmount(Double typeAmount) {
		this.typeAmount = typeAmount;
	}
	public Double getFreeAmount() {
		return freeAmount;
	}
	public void setFreeAmount(Double freeAmount) {
		this.freeAmount = freeAmount;
	}
	public Double getArrearsAmount() {
		return arrearsAmount;
	}
	public void setArrearsAmount(Double arrearsAmount) {
		this.arrearsAmount = arrearsAmount;
	}
	public Double getBackAmont() {
		return backAmont;
	}
	public void setBackAmont(Double backAmont) {
		this.backAmont = backAmont;
	}
	public Double getCashAmount() {
		return cashAmount;
	}
	public void setCashAmount(Double cashAmount) {
		this.cashAmount = cashAmount;
	}
	public Double getBankAmount() {
		return bankAmount;
	}
	public void setBankAmount(Double bankAmount) {
		this.bankAmount = bankAmount;
	}
}	
